package com.syj.service;


import com.syj.mapper.Consignerinter;
import com.syj.service.inter.ConsignerServiseinter;
import com.zzg.entity.Consigner;
import com.zzg.entity.TmsRegion;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

@Service
public class ConsignerServiseimpl implements ConsignerServiseinter {

    @Autowired
    public Consignerinter consignerinter;

    @Override
    public List<Consigner> selectAll() {
        return consignerinter.selectAll();
    }

    @Override
    public int addcon(Consigner consigner) {
        return consignerinter.addcon(consigner);
    }

    @Override
    public int delete(String id) {
        return consignerinter.delete(id);
    }

    @Override
    public void addreg(TmsRegion tmsRegion) { consignerinter.addreg(tmsRegion);
    }

    @Override
    public void update(Consigner consigner) {
        consignerinter.update(consigner);
    }

    @Override
    public int updateConsigner(Consigner consigner) {
        return consignerinter.updateConsigner(consigner);
    }


}
